﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin.aspx.cs" Inherits="Admin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="SqlDataSource1" 
            EmptyDataText="There are no data records to display.">
            <Columns>
                <asp:BoundField DataField="hoadonID" HeaderText="hoadonID" ReadOnly="True" 
                    SortExpression="hoadonID" />
                <asp:BoundField DataField="hovaten" HeaderText="hovaten" 
                    SortExpression="hovaten" />
                <asp:BoundField DataField="email" HeaderText="email" SortExpression="email" />
                <asp:BoundField DataField="diachi" HeaderText="diachi" 
                    SortExpression="diachi" />
                <asp:BoundField DataField="sodienthoai" HeaderText="sodienthoai" 
                    SortExpression="sodienthoai" />
                <asp:BoundField DataField="tinhthanhpho" HeaderText="tinhthanhpho" 
                    SortExpression="tinhthanhpho" />
                <asp:BoundField DataField="thoigian" HeaderText="thoigian" 
                    SortExpression="thoigian" />
                <asp:BoundField DataField="tinhtrang" HeaderText="tinhtrang" 
                    SortExpression="tinhtrang" />
                <asp:BoundField DataField="soluong" HeaderText="soluong" 
                    SortExpression="soluong" />
                <asp:BoundField DataField="tongtien" HeaderText="tongtien" 
                    SortExpression="tongtien" />
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:bkavcuongbillyConnectionString1 %>" 
            ProviderName="<%$ ConnectionStrings:bkavcuongbillyConnectionString1.ProviderName %>" 
            SelectCommand="SELECT [hoadonID], [hovaten], [email], [diachi], [sodienthoai], [tinhthanhpho], [thoigian], [tinhtrang], [soluong], [tongtien] FROM [hoadon]">
        </asp:SqlDataSource>
    
    </div>
    </form>
</body>
</html>
